package day09;

public class IntegerDemo {
    public static void main(String[] args){
        Integer i = new Integer(10);
        System.out.println(i+10);
        System.out.println(i);

        Integer j = new Integer(10);
        System.out.println(j);

        System.out.println(i.equals(j));
        System.out.println(i == j);

        int result = j.intValue();
        System.out.println(result);

        Integer x = 10;
        int y = x;
        Integer t1 = -129;
        Integer t2 = -129;
        System.out.println(t1 == t2);

        Integer t3 = Integer.valueOf(127);
        Integer t4 = Integer.valueOf(127);
        System.out.println(t3 == t4);

        Integer t5 = new Integer(100);
        int t6 = 100;
        System.out.println(t5 == t6);

        System.out.println(Integer.parseInt("10"));

        System.out.println(x.toString());

        System.out.println(Integer.toBinaryString(10));

        System.out.println(Integer.toOctalString(26));

        System.out.println(Integer.toHexString(176));

        System.out.println(Integer.MAX_VALUE);
        System.out.println(Integer.MIN_VALUE);
    }
}
